//
//  DBAccess.h
//  sqlite3Test
//
//  Created by ficow on 7/7/16.
//  Copyright © 2016年 ficow. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DBAccess : NSObject

- (void)initWritableDatabase;
//应用包内的内容是不可写的，所以需要把应用包内的数据库拷贝一个副本到资源路径去
- (void)createEditableDatabase;
//execute sql statement
- (NSMutableArray *)getAllProducts;
- (void)initDatabase;
- (void)closeDatabase;

@end
